package com.ewzj.bigdata.mvp.contract

import com.ewzj.bigdata.mvp.model.bean.UserBean
import com.ewzj.bigdata.mvp.model.reqbean.ReqCityBean
import com.ewzj.bigdata.mvp.model.reqbean.ReqSearchCityBean
import com.ewzj.bigdata.mvp.model.reqbean.ReqSelfInfoData
import com.ewzj.bigdata.mvp.model.reqbean.Reqpagebean
import com.ewzj.bigdata.mvp.model.rspbean.BaseData
import com.ewzj.bigdata.mvp.model.rspbean.CityBean
import com.ewzj.bigdata.mvp.model.rspbean.CitySearchBean
import com.ewzj.bigdata.mvp.model.rspbean.RspHomeData
import com.ewzj.bigdata.mvp.ui.adapter.CityAdapter
import com.ewzj.bigdata.mvp.ui.adapter.HomePageAdapter
import com.ewzj.bigdata.mvp.ui.adapter.HotcityAdapter
import com.ewzj.bigdata.mvp.ui.adapter.HourseTypeAdapter
import com.jess.arms.mvp.IModel
import com.jess.arms.mvp.IView
import io.reactivex.Observable
import java.io.File

/**
 * author:zhangjing
 * 作用:
 * return:
 */
interface EditProfileActivityContract {
    interface View : IView{
        fun updateView(user:UserBean)
        fun updateUserhead(userhead:String)
        fun changeSex(sex:String)
    }

    interface Model: IModel {
        fun upLoadPic(file: File): Observable<BaseData<List<String>>>
        fun updateUserinfo(reqSelfInfoData: ReqSelfInfoData): Observable<BaseData<Any>>
    }
}